<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ChatRooms</title>
    <link rel="stylesheet" type="text/css" href="./stylesheets/style.css">
  
</head>
<body>
    <h1>聊天室程序</h1>
    <div id="content">
        <div id="room"></div>
        <div id="room-list"></div>
        <div id="messages"></div>
        <form action="" id="send-form">
            <input type="text" id="send-messgae">
            <input type="submit" value="Send" id="send-button">
            <div id="help">
                Chat commands:
                <ul>
                    <li>Change nickename:<code>/nick [username]</code></li>
                    <li>Join/create room:<code>/join [room name]</code></li>
                </ul>
            </div>
        </form>
    </div>
    <script src="/socket.io/socket.io.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
    <script src="./javacripts/chat.js"></script>
    <script src="./javacripts/chat_ui.js"></script>
</body>
</html>